package com.woniuxy.common.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.woniuxy.common.model.dto.DemandDetailsDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "purchase",path = "/purchase/buyDemand")
public interface FeignPurchaseService {
    @PostMapping("/insertDemand")
    R insertDemand(@RequestBody DemandDetailsDTO dto);
}
